/* 去掉表格选中行的默认背景色 */
.table :global(.ant-table-tbody >tr.ant-table-row-selected >td) {
  background: transparent;
}

/* 选中行的固定列背景色设置为白色,避免透出下层内容 */
.table :global(.ant-table-tbody >tr.ant-table-row-selected >td.ant-table-cell-fix-left),
.table :global(.ant-table-tbody >tr.ant-table-row-selected >td.ant-table-cell-fix-right) {
  background: white;
}

/* 覆盖表格选中行的悬停背景色 */
.table :global(.ant-table-tbody >tr.ant-table-row-selected:hover >td) {
  background: #fafafa;
}

/* 覆盖高亮显示行的默认背景色 */
.table :global(.ant-table-tbody >tr.selecttable-row-highlight >td) {
  background: var(--ant-table-row-selected-bg);
}

/* 覆盖高亮显示行的悬停背景色 */
.table :global(.ant-table-tbody >tr.selecttable-row-highlight:hover >td) {
  background: var(--ant-table-row-selected-hover-bg);
}